2024-03-05 06:09:56,957 INFO mapreduce.MiniHadoopClusterManager: Updated 0 configuration settings from command line. 2024-03-05 06:09:57,034 INFO hdfs.MiniDFSCluster: starting cluster: numNameNodes=1, numDataNodes=1 2024-03-05 06:09:57,490 INFO namenode.NameNode: Formatting using clusterid: testClusterID 2024-03-05 06:09:57,504 INFO namenode.FSEditLog: Edit logging is async:true 2024-03-05 06:09:57,525 INFO namenode.FSNamesystem: KeyProvider: null 2024-03-05 06:09:57,526 INFO namenode.FSNamesystem: fsLock is fair: true 2024-03-05 06:09:57,527 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-03-05 06:09:57,554 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-03-05 06:09:57,554 INFO namenode.FSNamesystem: supergroup = supergroup 2024-03-05 06:09:57,554 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-03-05 06:09:57,555 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-03-05 06:09:57,555 INFO namenode.FSNamesystem: HA Enabled: false 2024-03-05 06:09:57,592 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 06:09:57,595 INFO Configuration.deprecation: hadoop.configured.node.mapping is deprecated. Instead, use net.topology.configured.node.mapping 2024-03-05 06:09:57,595 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-03-05 06:09:57,595 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-03-05 06:09:57,598 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-03-05 06:09:57,598 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Mar 05 06:09:57 2024-03-05 06:09:57,600 INFO util.GSet: Computing capacity for map BlocksMap 2024-03-05 06:09:57,600 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:57,601 INFO util.GSet: 2.0% max memory 7.7 GB = 156.8 MB 2024-03-05 06:09:57,601 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-03-05 06:09:57,625 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-03-05 06:09:57,625 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-03-05 06:09:57,629 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-03-05 06:09:57,629 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-03-05 06:09:57,629 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-03-05 06:09:57,630 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-03-05 06:09:57,630 INFO blockmanagement.BlockManager: maxReplication = 512 2024-03-05 06:09:57,630 INFO blockmanagement.BlockManager: minReplication = 1 2024-03-05 06:09:57,630 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-03-05 06:09:57,630 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-03-05 06:09:57,630 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-03-05 06:09:57,630 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-03-05 06:09:57,645 INFO namenode.FSDirectory: GLOBAL serial map: bits=29 maxEntries=536870911 2024-03-05 06:09:57,645 INFO namenode.FSDirectory: USER serial map: bits=24 maxEntries=16777215 2024-03-05 06:09:57,645 INFO namenode.FSDirectory: GROUP serial map: bits=24 maxEntries=16777215 2024-03-05 06:09:57,645 INFO namenode.FSDirectory: XATTR serial map: bits=24 maxEntries=16777215 2024-03-05 06:09:57,652 INFO util.GSet: Computing capacity for map INodeMap 2024-03-05 06:09:57,652 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:57,653 INFO util.GSet: 1.0% max memory 7.7 GB = 78.4 MB 2024-03-05 06:09:57,653 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-03-05 06:09:57,663 INFO namenode.FSDirectory: ACLs enabled? true 2024-03-05 06:09:57,663 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-03-05 06:09:57,663 INFO namenode.FSDirectory: XAttrs enabled? true 2024-03-05 06:09:57,663 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-03-05 06:09:57,667 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-03-05 06:09:57,668 INFO snapshot.SnapshotManager: SkipList is disabled 2024-03-05 06:09:57,671 INFO util.GSet: Computing capacity for map cachedBlocks 2024-03-05 06:09:57,671 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:57,672 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2024-03-05 06:09:57,672 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-03-05 06:09:57,679 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-03-05 06:09:57,679 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-03-05 06:09:57,679 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-03-05 06:09:57,682 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-03-05 06:09:57,682 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-03-05 06:09:57,683 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-03-05 06:09:57,683 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:57,684 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2024-03-05 06:09:57,684 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-03-05 06:09:57,702 INFO namenode.FSImage: Allocated new BlockPoolId: BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:57,716 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-1 has been successfully formatted. 2024-03-05 06:09:57,717 INFO common.Storage: Storage directory /hadoop-3.3.1/target/test/data/dfs/name-0-2 has been successfully formatted. 2024-03-05 06:09:57,753 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 using no compression 2024-03-05 06:09:57,753 INFO namenode.FSImageFormatProtobuf: Saving image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 using no compression 2024-03-05 06:09:57,863 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2024-03-05 06:09:57,863 INFO namenode.FSImageFormatProtobuf: Image file /hadoop-3.3.1/target/test/data/dfs/name-0-2/current/fsimage.ckpt_0000000000000000000 of size 405 bytes saved in 0 seconds . 2024-03-05 06:09:57,877 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0 2024-03-05 06:09:57,918 INFO namenode.FSNamesystem: Stopping services started for active state 2024-03-05 06:09:57,919 INFO namenode.FSNamesystem: Stopping services started for standby state 2024-03-05 06:09:57,920 INFO namenode.NameNode: createNameNode [] 2024-03-05 06:09:57,968 INFO impl.MetricsConfig: Loaded properties from hadoop-metrics2.properties 2024-03-05 06:09:58,040 INFO impl.MetricsSystemImpl: Scheduled Metric snapshot period at 10 second(s). 2024-03-05 06:09:58,041 INFO impl.MetricsSystemImpl: NameNode metrics system started 2024-03-05 06:09:58,067 INFO namenode.NameNodeUtils: fs.defaultFS is hdfs://127.0.0.1:12222 2024-03-05 06:09:58,068 INFO namenode.NameNode: Clients should use 127.0.0.1:12222 to access this namenode/service. 2024-03-05 06:09:58,107 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-03-05 06:09:58,115 INFO hdfs.DFSUtil: Filter initializers set : org.apache.hadoop.http.lib.StaticUserWebFilter,org.apache.hadoop.hdfs.web.AuthFilterInitializer 2024-03-05 06:09:58,118 INFO hdfs.DFSUtil: Starting Web-server for hdfs at: http://localhost:0 2024-03-05 06:09:58,127 INFO util.log: Logging initialized @1668ms to org.eclipse.jetty.util.log.Slf4jLog 2024-03-05 06:09:58,189 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 06:09:58,192 INFO http.HttpRequestLog: Http request log for http.requests.namenode is not defined 2024-03-05 06:09:58,198 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-03-05 06:09:58,200 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context hdfs 2024-03-05 06:09:58,200 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-03-05 06:09:58,200 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-03-05 06:09:58,202 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context hdfs 2024-03-05 06:09:58,202 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context logs 2024-03-05 06:09:58,202 INFO http.HttpServer2: Added filter AuthFilter (class=org.apache.hadoop.hdfs.web.AuthFilter) to context static 2024-03-05 06:09:58,225 INFO http.HttpServer2: addJerseyResourcePackage: packageName=org.apache.hadoop.hdfs.server.namenode.web.resources;org.apache.hadoop.hdfs.web.resources, pathSpec=/webhdfs/v1/* 2024-03-05 06:09:58,232 INFO http.HttpServer2: Jetty bound to port 41893 2024-03-05 06:09:58,232 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.22+7-post-Ubuntu-0ubuntu220.04.1 2024-03-05 06:09:58,252 INFO server.session: DefaultSessionIdManager workerName=node0 2024-03-05 06:09:58,252 INFO server.session: No SessionScavenger set, using defaults 2024-03-05 06:09:58,253 INFO server.session: node0 Scavenging every 660000ms 2024-03-05 06:09:58,266 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 06:09:58,268 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@44d70181{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-03-05 06:09:58,268 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@5c09d180{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-03-05 06:09:58,330 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@6a969fb8{hdfs,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/hdfs} 2024-03-05 06:09:58,339 INFO server.AbstractConnector: Started ServerConnector@30cdae70{HTTP/1.1, (http/1.1)}{localhost:41893} 2024-03-05 06:09:58,340 INFO server.Server: Started @1880ms 2024-03-05 06:09:58,344 INFO namenode.FSEditLog: Edit logging is async:true 2024-03-05 06:09:58,361 INFO namenode.FSNamesystem: KeyProvider: null 2024-03-05 06:09:58,361 INFO namenode.FSNamesystem: fsLock is fair: true 2024-03-05 06:09:58,361 INFO namenode.FSNamesystem: Detailed lock hold time metrics enabled: false 2024-03-05 06:09:58,361 INFO namenode.FSNamesystem: fsOwner = clickhouse (auth:SIMPLE) 2024-03-05 06:09:58,361 INFO namenode.FSNamesystem: supergroup = supergroup 2024-03-05 06:09:58,361 INFO namenode.FSNamesystem: isPermissionEnabled = true 2024-03-05 06:09:58,361 INFO namenode.FSNamesystem: isStoragePolicyEnabled = true 2024-03-05 06:09:58,362 INFO namenode.FSNamesystem: HA Enabled: false 2024-03-05 06:09:58,362 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 06:09:58,362 INFO blockmanagement.DatanodeManager: dfs.block.invalidate.limit: configured=1000, counted=60, effected=1000 2024-03-05 06:09:58,363 INFO blockmanagement.DatanodeManager: dfs.namenode.datanode.registration.ip-hostname-check=true 2024-03-05 06:09:58,363 INFO blockmanagement.BlockManager: dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000 2024-03-05 06:09:58,363 INFO blockmanagement.BlockManager: The block deletion will start around 2024 Mar 05 06:09:58 2024-03-05 06:09:58,363 INFO util.GSet: Computing capacity for map BlocksMap 2024-03-05 06:09:58,363 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:58,363 INFO util.GSet: 2.0% max memory 7.7 GB = 156.8 MB 2024-03-05 06:09:58,363 INFO util.GSet: capacity = 2^24 = 16777216 entries 2024-03-05 06:09:58,368 INFO blockmanagement.BlockManager: Storage policy satisfier is disabled 2024-03-05 06:09:58,368 INFO blockmanagement.BlockManager: dfs.block.access.token.enable = false 2024-03-05 06:09:58,368 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.threshold-pct = 0.999 2024-03-05 06:09:58,368 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.min.datanodes = 0 2024-03-05 06:09:58,368 INFO blockmanagement.BlockManagerSafeMode: dfs.namenode.safemode.extension = 0 2024-03-05 06:09:58,368 INFO blockmanagement.BlockManager: defaultReplication = 1 2024-03-05 06:09:58,369 INFO blockmanagement.BlockManager: maxReplication = 512 2024-03-05 06:09:58,369 INFO blockmanagement.BlockManager: minReplication = 1 2024-03-05 06:09:58,369 INFO blockmanagement.BlockManager: maxReplicationStreams = 2 2024-03-05 06:09:58,369 INFO blockmanagement.BlockManager: redundancyRecheckInterval = 3000ms 2024-03-05 06:09:58,369 INFO blockmanagement.BlockManager: encryptDataTransfer = false 2024-03-05 06:09:58,369 INFO blockmanagement.BlockManager: maxNumBlocksToLog = 1000 2024-03-05 06:09:58,369 INFO util.GSet: Computing capacity for map INodeMap 2024-03-05 06:09:58,369 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:58,369 INFO util.GSet: 1.0% max memory 7.7 GB = 78.4 MB 2024-03-05 06:09:58,369 INFO util.GSet: capacity = 2^23 = 8388608 entries 2024-03-05 06:09:58,379 INFO namenode.FSDirectory: ACLs enabled? true 2024-03-05 06:09:58,379 INFO namenode.FSDirectory: POSIX ACL inheritance enabled? true 2024-03-05 06:09:58,379 INFO namenode.FSDirectory: XAttrs enabled? true 2024-03-05 06:09:58,379 INFO namenode.NameNode: Caching file names occurring more than 10 times 2024-03-05 06:09:58,379 INFO snapshot.SnapshotManager: Loaded config captureOpenFiles: false, skipCaptureAccessTimeOnlyChange: false, snapshotDiffAllowSnapRootDescendant: true, maxSnapshotLimit: 65536 2024-03-05 06:09:58,379 INFO snapshot.SnapshotManager: SkipList is disabled 2024-03-05 06:09:58,379 INFO util.GSet: Computing capacity for map cachedBlocks 2024-03-05 06:09:58,379 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:58,379 INFO util.GSet: 0.25% max memory 7.7 GB = 19.6 MB 2024-03-05 06:09:58,379 INFO util.GSet: capacity = 2^21 = 2097152 entries 2024-03-05 06:09:58,382 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.window.num.buckets = 10 2024-03-05 06:09:58,382 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.num.users = 10 2024-03-05 06:09:58,382 INFO metrics.TopMetrics: NNTop conf: dfs.namenode.top.windows.minutes = 1,5,25 2024-03-05 06:09:58,382 INFO namenode.FSNamesystem: Retry cache on namenode is enabled 2024-03-05 06:09:58,382 INFO namenode.FSNamesystem: Retry cache will use 0.03 of total heap and retry cache entry expiry time is 600000 millis 2024-03-05 06:09:58,382 INFO util.GSet: Computing capacity for map NameNodeRetryCache 2024-03-05 06:09:58,382 INFO util.GSet: VM type = 64-bit 2024-03-05 06:09:58,382 INFO util.GSet: 0.029999999329447746% max memory 7.7 GB = 2.4 MB 2024-03-05 06:09:58,382 INFO util.GSet: capacity = 2^18 = 262144 entries 2024-03-05 06:09:58,390 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-1/in_use.lock acquired by nodename 445@72ae8ac4dd5c 2024-03-05 06:09:58,392 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/name-0-2/in_use.lock acquired by nodename 445@72ae8ac4dd5c 2024-03-05 06:09:58,393 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-1/current 2024-03-05 06:09:58,393 INFO namenode.FileJournalManager: Recovering unfinalized segments in /hadoop-3.3.1/target/test/data/dfs/name-0-2/current 2024-03-05 06:09:58,393 INFO namenode.FSImage: No edit log streams selected. 2024-03-05 06:09:58,393 INFO namenode.FSImage: Planning to load image: FSImageFile(file=/hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000, cpktTxId=0000000000000000000) 2024-03-05 06:09:58,410 INFO namenode.FSImageFormatPBINode: Loading 1 INodes. 2024-03-05 06:09:58,411 INFO namenode.FSImageFormatPBINode: Successfully loaded 1 inodes 2024-03-05 06:09:58,414 INFO namenode.FSImageFormatPBINode: Completed update blocks map and name cache, total waiting duration 0ms. 2024-03-05 06:09:58,415 INFO namenode.FSImageFormatProtobuf: Loaded FSImage in 0 seconds. 2024-03-05 06:09:58,415 INFO namenode.FSImage: Loaded image for txid 0 from /hadoop-3.3.1/target/test/data/dfs/name-0-1/current/fsimage_0000000000000000000 2024-03-05 06:09:58,419 INFO namenode.FSNamesystem: Need to save fs image? false (staleImage=false, haEnabled=false, isRollingUpgrade=false) 2024-03-05 06:09:58,419 INFO namenode.FSEditLog: Starting log segment at 1 2024-03-05 06:09:58,431 INFO namenode.NameCache: initialized with 0 entries 0 lookups 2024-03-05 06:09:58,431 INFO namenode.FSNamesystem: Finished loading FSImage in 48 msecs 2024-03-05 06:09:58,542 INFO namenode.NameNode: RPC server is binding to localhost:12222 2024-03-05 06:09:58,542 INFO namenode.NameNode: Enable NameNode state context:false 2024-03-05 06:09:58,548 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-03-05 06:09:58,556 INFO ipc.Server: Starting Socket Reader #1 for port 12222 2024-03-05 06:09:58,710 INFO namenode.FSNamesystem: Registered FSNamesystemState, ReplicatedBlocksState and ECBlockGroupsState MBeans. 2024-03-05 06:09:58,718 INFO namenode.LeaseManager: Number of blocks under construction: 0 2024-03-05 06:09:58,723 INFO blockmanagement.DatanodeAdminDefaultMonitor: Initialized the Default Decommission and Maintenance monitor 2024-03-05 06:09:58,725 INFO blockmanagement.BlockManager: initializing replication queues 2024-03-05 06:09:58,726 INFO hdfs.StateChange: STATE* Leaving safe mode after 0 secs 2024-03-05 06:09:58,726 INFO hdfs.StateChange: STATE* Network topology has 0 racks and 0 datanodes 2024-03-05 06:09:58,726 INFO hdfs.StateChange: STATE* UnderReplicatedBlocks has 0 blocks 2024-03-05 06:09:58,733 INFO blockmanagement.BlockManager: Total number of blocks = 0 2024-03-05 06:09:58,733 INFO blockmanagement.BlockManager: Number of invalid blocks = 0 2024-03-05 06:09:58,733 INFO blockmanagement.BlockManager: Number of under-replicated blocks = 0 2024-03-05 06:09:58,733 INFO blockmanagement.BlockManager: Number of over-replicated blocks = 0 2024-03-05 06:09:58,733 INFO blockmanagement.BlockManager: Number of blocks being written = 0 2024-03-05 06:09:58,733 INFO hdfs.StateChange: STATE* Replication Queue initialization scan for invalid, over- and under-replicated blocks completed in 7 msec 2024-03-05 06:09:58,749 INFO ipc.Server: IPC Server Responder: starting 2024-03-05 06:09:58,749 INFO ipc.Server: IPC Server listener on 12222: starting 2024-03-05 06:09:58,751 INFO namenode.NameNode: NameNode RPC up at: localhost/127.0.0.1:12222 2024-03-05 06:09:58,754 INFO namenode.FSNamesystem: Starting services required for active state 2024-03-05 06:09:58,754 INFO namenode.FSDirectory: Initializing quota with 12 thread(s) 2024-03-05 06:09:58,757 INFO namenode.FSDirectory: Quota initialization completed in 3 milliseconds name space=1 storage space=0 storage types=RAM_DISK=0, SSD=0, DISK=0, ARCHIVE=0, PROVIDED=0 2024-03-05 06:09:58,760 INFO blockmanagement.CacheReplicationMonitor: Starting CacheReplicationMonitor with interval 30000 milliseconds 2024-03-05 06:09:58,766 INFO hdfs.MiniDFSCluster: Starting DataNode 0 with dfs.datanode.data.dir: [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1,[DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 06:09:58,798 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 06:09:58,804 INFO checker.ThrottledAsyncChecker: Scheduling a check for [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 06:09:58,827 INFO impl.MetricsSystemImpl: DataNode metrics system started (again) 2024-03-05 06:09:58,832 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 06:09:58,835 INFO datanode.BlockScanner: Initialized block scanner with targetBytesPerSec 1048576 2024-03-05 06:09:58,838 INFO datanode.DataNode: Configured hostname is 127.0.0.1 2024-03-05 06:09:58,839 INFO common.Util: dfs.datanode.fileio.profiling.sampling.percentage set to 0. Disabling file IO profiling 2024-03-05 06:09:58,843 INFO datanode.DataNode: Starting DataNode with maxLockedMemory = 0 2024-03-05 06:09:58,848 INFO datanode.DataNode: Opened streaming server at /127.0.0.1:38937 2024-03-05 06:09:58,850 INFO datanode.DataNode: Balancing bandwidth is 104857600 bytes/s 2024-03-05 06:09:58,850 INFO datanode.DataNode: Number threads for balancing is 100 2024-03-05 06:09:58,863 INFO server.AuthenticationFilter: Unable to initialize FileSignerSecretProvider, falling back to use random secrets. 2024-03-05 06:09:58,864 INFO http.HttpRequestLog: Http request log for http.requests.datanode is not defined 2024-03-05 06:09:58,865 INFO http.HttpServer2: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer2$QuotingInputFilter) 2024-03-05 06:09:58,866 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context datanode 2024-03-05 06:09:58,866 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context logs 2024-03-05 06:09:58,866 INFO http.HttpServer2: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static 2024-03-05 06:09:58,868 INFO http.HttpServer2: Jetty bound to port 42369 2024-03-05 06:09:58,869 INFO server.Server: jetty-9.4.40.v20210413; built: 2021-04-13T20:42:42.668Z; git: b881a572662e1943a14ae12e7e1207989f218b74; jvm 11.0.22+7-post-Ubuntu-0ubuntu220.04.1 2024-03-05 06:09:58,869 INFO server.session: DefaultSessionIdManager workerName=node0 2024-03-05 06:09:58,870 INFO server.session: No SessionScavenger set, using defaults 2024-03-05 06:09:58,870 INFO server.session: node0 Scavenging every 660000ms 2024-03-05 06:09:58,870 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@63d4f0a2{logs,/logs,file:///hadoop-3.3.1/logs,AVAILABLE} 2024-03-05 06:09:58,871 INFO handler.ContextHandler: Started o.e.j.s.ServletContextHandler@a4b5ce3{static,/static,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/static/,AVAILABLE} 2024-03-05 06:09:58,877 INFO handler.ContextHandler: Started o.e.j.w.WebAppContext@514de325{datanode,/,file:///hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode/,AVAILABLE}{file:/hadoop-3.3.1/share/hadoop/hdfs/webapps/datanode} 2024-03-05 06:09:58,878 INFO server.AbstractConnector: Started ServerConnector@2a367e93{HTTP/1.1, (http/1.1)}{localhost:42369} 2024-03-05 06:09:58,878 INFO server.Server: Started @2419ms 2024-03-05 06:09:58,978 WARN web.DatanodeHttpServer: Got null for restCsrfPreventionFilter - will not do any filtering. 2024-03-05 06:09:59,043 INFO web.DatanodeHttpServer: Listening HTTP traffic on /127.0.0.1:45505 2024-03-05 06:09:59,043 INFO util.JvmPauseMonitor: Starting JVM pause monitor 2024-03-05 06:09:59,044 INFO datanode.DataNode: dnUserName = clickhouse 2024-03-05 06:09:59,044 INFO datanode.DataNode: supergroup = supergroup 2024-03-05 06:09:59,059 INFO ipc.CallQueueManager: Using callQueue: class java.util.concurrent.LinkedBlockingQueue, queueCapacity: 1000, scheduler: class org.apache.hadoop.ipc.DefaultRpcScheduler, ipcBackoff: false. 2024-03-05 06:09:59,060 INFO ipc.Server: Starting Socket Reader #1 for port 0 2024-03-05 06:09:59,066 INFO datanode.DataNode: Opened IPC server at /127.0.0.1:39575 2024-03-05 06:09:59,093 INFO datanode.DataNode: Refresh request received for nameservices: null 2024-03-05 06:09:59,095 INFO datanode.DataNode: Starting BPOfferServices for nameservices: 2024-03-05 06:09:59,103 INFO datanode.DataNode: Block pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 starting to offer service 2024-03-05 06:09:59,109 INFO ipc.Server: IPC Server Responder: starting 2024-03-05 06:09:59,109 INFO ipc.Server: IPC Server listener on 0: starting 2024-03-05 06:09:59,254 INFO datanode.DataNode: Acknowledging ACTIVE Namenode during handshakeBlock pool (Datanode Uuid unassigned) service to localhost/127.0.0.1:12222 2024-03-05 06:09:59,256 INFO common.Storage: Using 2 threads to upgrade data directories (dfs.datanode.parallel.volumes.load.threads.num=2, dataDirs=2) 2024-03-05 06:09:59,257 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data1/in_use.lock acquired by nodename 445@72ae8ac4dd5c 2024-03-05 06:09:59,258 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 is not formatted for namespace 672527411. Formatting... 2024-03-05 06:09:59,259 INFO common.Storage: Generated new storageID DS-6046b4e0-01d7-4af4-acc1-8f79406276aa for directory /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 06:09:59,261 INFO common.Storage: Lock on /hadoop-3.3.1/target/test/data/dfs/data/data2/in_use.lock acquired by nodename 445@72ae8ac4dd5c 2024-03-05 06:09:59,261 INFO common.Storage: Storage directory with location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 is not formatted for namespace 672527411. Formatting... 2024-03-05 06:09:59,262 INFO common.Storage: Generated new storageID DS-e83cc25b-34fb-47c7-901f-e1cd88d57b93 for directory /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 06:09:59,280 INFO common.Storage: Analyzing storage directories for bpid BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,280 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,281 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1 and block pool id BP-1616571564-172.17.0.2-1709651397695 is not formatted. Formatting ... 2024-03-05 06:09:59,281 INFO common.Storage: Formatting block pool BP-1616571564-172.17.0.2-1709651397695 directory /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1616571564-172.17.0.2-1709651397695/current 2024-03-05 06:09:59,298 INFO common.Storage: Analyzing storage directories for bpid BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,298 INFO common.Storage: Locking is disabled for /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,298 INFO common.Storage: Block pool storage directory for location [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2 and block pool id BP-1616571564-172.17.0.2-1709651397695 is not formatted. Formatting ... 2024-03-05 06:09:59,298 INFO common.Storage: Formatting block pool BP-1616571564-172.17.0.2-1709651397695 directory /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1616571564-172.17.0.2-1709651397695/current 2024-03-05 06:09:59,300 INFO datanode.DataNode: Setting up storage: nsid=672527411;bpid=BP-1616571564-172.17.0.2-1709651397695;lv=-57;nsInfo=lv=-66;cid=testClusterID;nsid=672527411;c=1709651397695;bpid=BP-1616571564-172.17.0.2-1709651397695;dnuuid=null 2024-03-05 06:09:59,302 INFO datanode.DataNode: Generated and persisted new Datanode UUID 970c4088-6263-4fe6-85e3-423b1491dd56 2024-03-05 06:09:59,313 INFO impl.FsDatasetImpl: The datanode lock is a read write lock 2024-03-05 06:09:59,385 INFO impl.FsDatasetImpl: Added new volume: DS-6046b4e0-01d7-4af4-acc1-8f79406276aa 2024-03-05 06:09:59,385 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data1, StorageType: DISK 2024-03-05 06:09:59,387 INFO impl.FsDatasetImpl: Added new volume: DS-e83cc25b-34fb-47c7-901f-e1cd88d57b93 2024-03-05 06:09:59,388 INFO impl.FsDatasetImpl: Added volume - [DISK]file:/hadoop-3.3.1/target/test/data/dfs/data/data2, StorageType: DISK 2024-03-05 06:09:59,391 INFO impl.MemoryMappableBlockLoader: Initializing cache loader: MemoryMappableBlockLoader. 2024-03-05 06:09:59,394 INFO impl.FsDatasetImpl: Registered FSDatasetState MBean 2024-03-05 06:09:59,398 INFO impl.FsDatasetImpl: Adding block pool BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,399 INFO impl.FsDatasetImpl: Scanning block pool BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-03-05 06:09:59,400 INFO impl.FsDatasetImpl: Scanning block pool BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-03-05 06:09:59,433 INFO hdfs.MiniDFSCluster: dnInfo.length != numDataNodes 2024-03-05 06:09:59,433 INFO hdfs.MiniDFSCluster: Waiting for cluster to become active 2024-03-05 06:09:59,435 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1616571564-172.17.0.2-1709651397695 on /hadoop-3.3.1/target/test/data/dfs/data/data1: 35ms 2024-03-05 06:09:59,436 INFO impl.FsDatasetImpl: Time taken to scan block pool BP-1616571564-172.17.0.2-1709651397695 on /hadoop-3.3.1/target/test/data/dfs/data/data2: 36ms 2024-03-05 06:09:59,437 INFO impl.FsDatasetImpl: Total time to scan all replicas for block pool BP-1616571564-172.17.0.2-1709651397695: 38ms 2024-03-05 06:09:59,438 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2... 2024-03-05 06:09:59,438 INFO impl.FsDatasetImpl: Adding replicas to map for block pool BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1... 2024-03-05 06:09:59,438 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data2/current/BP-1616571564-172.17.0.2-1709651397695/current/replicas doesn't exist 2024-03-05 06:09:59,438 INFO impl.BlockPoolSlice: Replica Cache file: /hadoop-3.3.1/target/test/data/dfs/data/data1/current/BP-1616571564-172.17.0.2-1709651397695/current/replicas doesn't exist 2024-03-05 06:09:59,440 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1: 1ms 2024-03-05 06:09:59,440 INFO impl.FsDatasetImpl: Time to add replicas to map for block pool BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2: 2ms 2024-03-05 06:09:59,440 INFO impl.FsDatasetImpl: Total time to add all replicas to map for block pool BP-1616571564-172.17.0.2-1709651397695: 3ms 2024-03-05 06:09:59,440 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 06:09:59,446 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 06:09:59,447 INFO checker.ThrottledAsyncChecker: Scheduling a check for /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 06:09:59,447 INFO checker.DatasetVolumeChecker: Scheduled health check for volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 06:09:59,449 INFO datanode.VolumeScanner: Now scanning bpid BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data1 2024-03-05 06:09:59,449 INFO datanode.VolumeScanner: Now scanning bpid BP-1616571564-172.17.0.2-1709651397695 on volume /hadoop-3.3.1/target/test/data/dfs/data/data2 2024-03-05 06:09:59,450 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-6046b4e0-01d7-4af4-acc1-8f79406276aa): finished scanning block pool BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,450 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-e83cc25b-34fb-47c7-901f-e1cd88d57b93): finished scanning block pool BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,451 WARN datanode.DirectoryScanner: dfs.datanode.directoryscan.throttle.limit.ms.per.sec set to value above 1000 ms/sec. Assuming default value of -1 2024-03-05 06:09:59,451 INFO datanode.DirectoryScanner: Periodic Directory Tree Verification scan starting in 11016568ms with interval of 21600000ms and throttle limit of -1ms/s 2024-03-05 06:09:59,456 INFO datanode.DataNode: Block pool BP-1616571564-172.17.0.2-1709651397695 (Datanode Uuid 970c4088-6263-4fe6-85e3-423b1491dd56) service to localhost/127.0.0.1:12222 beginning handshake with NN 2024-03-05 06:09:59,460 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data1, DS-6046b4e0-01d7-4af4-acc1-8f79406276aa): no suitable block pools found to scan. Waiting 1814399989 ms. 2024-03-05 06:09:59,460 INFO datanode.VolumeScanner: VolumeScanner(/hadoop-3.3.1/target/test/data/dfs/data/data2, DS-e83cc25b-34fb-47c7-901f-e1cd88d57b93): no suitable block pools found to scan. Waiting 1814399989 ms. 2024-03-05 06:09:59,468 INFO hdfs.StateChange: BLOCK* registerDatanode: from DatanodeRegistration(127.0.0.1:38937, datanodeUuid=970c4088-6263-4fe6-85e3-423b1491dd56, infoPort=45505, infoSecurePort=0, ipcPort=39575, storageInfo=lv=-57;cid=testClusterID;nsid=672527411;c=1709651397695) storage 970c4088-6263-4fe6-85e3-423b1491dd56 2024-03-05 06:09:59,469 INFO net.NetworkTopology: Adding a new node: /default-rack/127.0.0.1:38937 2024-03-05 06:09:59,470 INFO blockmanagement.BlockReportLeaseManager: Registered DN 970c4088-6263-4fe6-85e3-423b1491dd56 (127.0.0.1:38937). 2024-03-05 06:09:59,473 INFO datanode.DataNode: Block pool BP-1616571564-172.17.0.2-1709651397695 (Datanode Uuid 970c4088-6263-4fe6-85e3-423b1491dd56) service to localhost/127.0.0.1:12222 successfully registered with NN 2024-03-05 06:09:59,474 INFO datanode.DataNode: For namenode localhost/127.0.0.1:12222 using BLOCKREPORT_INTERVAL of 21600000msecs CACHEREPORT_INTERVAL of 10000msecs Initial delay: 0msecs; heartBeatInterval=3000 2024-03-05 06:09:59,485 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-6046b4e0-01d7-4af4-acc1-8f79406276aa for DN 127.0.0.1:38937 2024-03-05 06:09:59,485 INFO blockmanagement.DatanodeDescriptor: Adding new storage ID DS-e83cc25b-34fb-47c7-901f-e1cd88d57b93 for DN 127.0.0.1:38937 2024-03-05 06:09:59,505 INFO BlockStateChange: BLOCK* processReport 0xb56d18e2c16b58b6: Processing first storage report for DS-e83cc25b-34fb-47c7-901f-e1cd88d57b93 from datanode 970c4088-6263-4fe6-85e3-423b1491dd56 2024-03-05 06:09:59,506 INFO BlockStateChange: BLOCK* processReport 0xb56d18e2c16b58b6: from storage DS-e83cc25b-34fb-47c7-901f-e1cd88d57b93 node DatanodeRegistration(127.0.0.1:38937, datanodeUuid=970c4088-6263-4fe6-85e3-423b1491dd56, infoPort=45505, infoSecurePort=0, ipcPort=39575, storageInfo=lv=-57;cid=testClusterID;nsid=672527411;c=1709651397695), blocks: 0, hasStaleStorage: true, processing time: 1 msecs, invalidatedBlocks: 0 2024-03-05 06:09:59,507 INFO BlockStateChange: BLOCK* processReport 0xb56d18e2c16b58b6: Processing first storage report for DS-6046b4e0-01d7-4af4-acc1-8f79406276aa from datanode 970c4088-6263-4fe6-85e3-423b1491dd56 2024-03-05 06:09:59,507 INFO BlockStateChange: BLOCK* processReport 0xb56d18e2c16b58b6: from storage DS-6046b4e0-01d7-4af4-acc1-8f79406276aa node DatanodeRegistration(127.0.0.1:38937, datanodeUuid=970c4088-6263-4fe6-85e3-423b1491dd56, infoPort=45505, infoSecurePort=0, ipcPort=39575, storageInfo=lv=-57;cid=testClusterID;nsid=672527411;c=1709651397695), blocks: 0, hasStaleStorage: false, processing time: 0 msecs, invalidatedBlocks: 0 2024-03-05 06:09:59,518 INFO datanode.DataNode: Successfully sent block report 0xb56d18e2c16b58b6 to namenode: localhost/127.0.0.1:12222, containing 2 storage report(s), of which we sent 2. The reports had 0 total blocks and used 1 RPC(s). This took 3 msecs to generate and 21 msecs for RPC and NN processing. Got back one command: FinalizeCommand/5. 2024-03-05 06:09:59,519 INFO datanode.DataNode: Got finalize command for block pool BP-1616571564-172.17.0.2-1709651397695 2024-03-05 06:09:59,542 INFO hdfs.MiniDFSCluster: Cluster is active 2024-03-05 06:09:59,545 INFO mapreduce.MiniHadoopClusterManager: Started MiniDFSCluster -- namenode on port 12222